-- GENERATED SPELL FOR [Senior Demolitionist Legoso] --


function spell0_31109(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(15708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31109', 5305, 1)
end

function Sorts_31109(pUnit, Event)
local choix_sorts_31109 = math.random(0, 0)
if choix_sorts_31109 == 0 then
pUnit:RegisterEvent('spell0_31109', 1, 1)
end
end

function mob31109_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31109', math.random(1500, 3000), 1)
end

function mob31109_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31109_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31109_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31109, 1, 'mob31109_Action')
RegisterUnitEvent(31109, 2, 'mob31109_Leave')
RegisterUnitEvent(31109, 3, 'mob31109_Kill')
RegisterUnitEvent(31109, 4, 'mob31109_Die')
